package com.test.io.standard;

import java.util.Scanner;

/**
 * @version 1.0
 * @Author: 许啸林 标准输入输出流练习
 * @Date: 2021/6/3 15:10
 */
public class StandardDemo {
    public static void main(String[] args) {
        // public static final InputStream in = null;
        // System.in 编译类型 InputStream
        // System.in 运行类型 BufferedInputStream
        System.out.println(System.in.getClass());

        //  public static final PrintStream out = null;
        //  System.out 编译类型 PrintStream
        //  System.out 运行类型 PrintStream
        System.out.println(System.out.getClass());
        System.out.println("请输入内容");
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.next());
    }
}
